package com.aqumon.www.entity.request.jenkins;
import com.aqumon.www.entity.request.ParamValidate;
import lombok.Data;


@Data
public class JobBasicReq implements ParamValidate {

    private String jenkinsName;

    /**
     * 必填 构建job名称
     */
    private String jobFullName;

    @Override
    public void validate() {
        if (jobFullName == null) {
            throw new IllegalArgumentException("jobFullName 不能为空");
        }
    }
}

